<template>
    <div class="bigbox">
        <mgjheader></mgjheader>
        <mgjcontent :data="classifydata"></mgjcontent>
        <mgjfooter></mgjfooter>
    </div>
</template>
<script type="text/ecmascript-6">
    import mgjheader from "../components/commons/mgjheader.vue";
    import mgjfooter from "../components/commons/mgjfooter.vue";
    import mgjcontent from "../components/shopclassify/mgjcontent.vue";
    import shopclassify from "../../apis/shopclassify";
    export default {
        components:{
            mgjheader,
            mgjfooter,
            mgjcontent
        },
        created:function(){
            this.initdata();
        },
        methods:{
            initdata:function(){
                shopclassify.getdata((data)=>{
                    this.classifydata=data;
                })
            }
        },
        data(){
            return{
                classifydata:[]
            }
        }
    }
</script>

<style scoped>
</style>

